<template>
    <el-button :icon="Back" circle @click="goback" />
</template>

<script setup lang="ts">
import {Back} from "@element-plus/icons-vue";
import {useRouter} from "vue-router";
let router = useRouter()
let goback = () => {
  router.go(-1);
}
defineOptions({
  name:'Back'
})
</script>

<style scoped lang="scss">

</style>
